<?php

class Validator_Exp extends Validator_Abstract
{

    public function isValid($value, $params = null)
    {
        return filter_var($value, FILTER_VALIDATE_REGEXP);
    }
}